package com.homestay.service;

import java.util.List;
import java.util.Map;

import com.homestay.beans.HouseInfoBean;
import com.homestay.vo.PageInfo;

public interface IHouseInfoService {

	/**
	 * 获取房源总数
	 * @return
	 */
	int getHouseTotalCount(PageInfo<HouseInfoBean> pageInfo);
	
	/**
	 * 通过分页条件获得房源信息，其内包含了筛选条件
	 * @param pageInfo
	 * @return
	 */
	List<HouseInfoBean> getHouseByPage(PageInfo<HouseInfoBean> pageInfo);
	List<Map<String, Object>> getLocation();
}
